package com.mine.service;

import com.mine.pojo.MinePublishContentCategory;
import com.mine.result.Result;
import com.mine.vo.PublishVo;

public interface PublishService {

	Result addPublishContent(String token, PublishVo publishVo);

	Result addPublishCategory(String token, MinePublishContentCategory contentCategory);

	Result deletePublishCategory(String token, MinePublishContentCategory contentCategory);

	Result updatePublishCategory(String token, MinePublishContentCategory contentCategory);

	Result getPublishCategory(String token);

	Result updatePublishContent(String token, PublishVo publishVo);

	Result deletePublishContent(String token, PublishVo publishVo);

	Result getPublishContent(String token, PublishVo publishVo);

	Result getPublishContentList(String token, Long categoryId);

}
